package com.usooft.metaTalent.core.platform.mapper;

import com.usooft.metaTalent.core.platform.entity.Expert;
import com.usooft.metaTalent.core.platform.query.ExpertQuery;
import com.usooft.metaTalent.core.platform.wrapper.ExpertWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ExpertMapper {
    int add(Expert expert);

    int update(Expert expert);

    Expert get(Long id);

    List<ExpertWrapper> list(ExpertQuery query);

    int count(@Param("filter") ExpertQuery.Filter filter);
}
